package com.syq.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.syq.pojo.DtsRole;
import com.syq.vo.CatVo;
import com.syq.vo.PermUpdateVo;

import java.util.List;
import java.util.Set;

/**
 * @ClassName: DtsRoleService
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/22 9:26
 */


public interface DtsRoleService {
    Set<String> findRolesByUid(Integer id);

    List<CatVo> findAllRole();

    IPage<DtsRole> findByPage(Integer page, Integer limit, String name, String sort, String order);

    void addRole(DtsRole dtsRole);

    void update(DtsRole dtsRole);

    void delete(Integer id);

}